package com.demo.model;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum CodeEnum {
    SUCCESS(200,"操作成功"),
    OPERATION_FAIL(300,"操作失败"),
    TOKEN_EMPTY(401,"未授权"),
    UM_AUTHORIZATION(405,"未授权"),
    TOKEN_INVALID(402,"令牌无效");
    private Integer code;
    private String desc;
}
